package com.example.observer.dubbo;

import java.util.concurrent.Executor;

public interface EventDispatcher extends Listenable<EventListener<?>> {

    void dispatch(Event event);


    Executor DIRECT_EXECUTOR = Runnable::run;

}
